home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 8
/
Aminet 8 (1995)(GTI - Schatztruhe)[!][Oct 1995].iso
/
Aminet
/
comm
/
xeno
/
XLottery10.lha
/
XLottery
/
XLottery.rexx
< prev
Wrap
OS/2 REXX Batch file
|
1995-08-08
|
800b
|
51 lines
/*
** XLottery - A UK National Lottery number picker door for Xenolink
** ©1995 Ian Forest. This program is XenoWare! - Use it!
** $VER: XLottery v1.0 ©1995 Ian Forest
*/
options results
CLS
DISPLAYFILE 'DOORS:XLottery/Header.txt'
call randu(time('s'))
Ao:
A = Random(1,49)
Bo:
Ba = Random(1,49)
If Ba=A then call Bo
Co:
C = Random(1,49)
If C=A then call Co
If C=Ba then call Co
Do:
D = Random(1,49)
If D=A then call Do
If D=Ba then call Do
If D=C then call Do
Eo:
E = Random(1,49)
If E=A then call Eo
If E=Ba then call Eo
If E=C then call Eo
If E=D then call Eo
Fo:
F = Random(1,49)
If F=A then call Fo
if F=Ba then call Fo
If F=C then call Fo
If F=D then call Fo
If F=E then call Fo
PRINT A' 'Ba' 'C' 'D' 'E' 'F
DISPLAYFILE 'DOORS:XLottery/Footer.txt'
exit